home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 19 / 8 / DISK1982.ZIP / CH1_1.DOC < prev    next >
Text File  |  1991-03-15  |  5KB  |  156 lines

  1. ■ INTRODUCTION
  2.  
  3.   This is a reference manual for the FlashPac Pascal library. This
  4.   implementation is for use with Turbo Pascal in the PC-DOS operating
  5.   system.  A working knowledge of Turbo Pascal and personal computers
  6.   is assumed.
  7.  
  8.   The routines that are included here were created to provide a
  9.   programmer with low level routines that access the video display,
  10.   keyboard, printer, disk, and mouse devices.  These routines are not
  11.   intended to replace the standard features of Turbo Pascal.  They
  12.   were created to add to and extend to the Turbo Pascal programming
  13.   environment for MS-DOS and PC-DOS operating systems.
  14.  
  15.   In order to lessen the confusion of using these routines the number
  16.   of global variables needed for use with this library has been kept
  17.   to a minimum.  All the functions in the library were written in
  18.   assembly language using the pascal parameter passing conventions.
  19.  
  20.   The library contains routines for the disk, keyboard, mouse, printer
  21.   and video display devices, as well as a couple of DOS functions.
  22.  
  23.  
  24.   FPDISK     Supports several DOS function calls that use byte streams
  25.              when accessing disk files.
  26.  
  27.   FPGETKEY   Required for EditSt.
  28.  
  29.   FPKBD      Supports BIOS and DOS keyboard function calls.
  30.  
  31.   FPMOUSE    Supports basic mouse functions, including a mouse event
  32.              handler.
  33.  
  34.   FPPRT      Support BIOS printer functions.
  35.  
  36.   FPVIDEO    Several video routines that provide direct access to the
  37.              video display.  Routines include saving and restoring the
  38.              screen, framing windows, setting the absolute position of
  39.              the cursor, etc.
  40.  
  41.  
  42.   FPDOS1     Beep function and ExecChild for TP4.0, TP5.0 & TP5.5
  43.  
  44.   FPDOS2     Several functions that access the DOS interrupts.
  45.  
  46.   FPBIOS     Several functions that uses the BIOS to access several of
  47.          the video functions available.
  48.  
  49.   Place the units files into the units subdirectory or use TPUMOVER to
  50.   place the units into the Turbo Pascal Library.
  51.  
  52.   In order to use any one of the units just include the unit to be
  53.   used in the "USES" clause.
  54. ..page
  55. ..head02L──────────────────────────────────────────────────────────────────────
  56. ..head04L──────────────────────────────────────────────────────────────────────
  57. ..head03ASample
  58. ■ Description
  59.  
  60.   What the function does
  61.  
  62.  
  63. ■ Summary
  64.  
  65.   Function declaration with parameter list.
  66.   Parm1       Parm1 description.
  67.   Parm2       Parm2 description.
  68.  
  69.  
  70. ■ Remarks
  71.  
  72.   General comments.
  73.  
  74.  
  75. ■ See Also
  76.  
  77.   Related functions
  78.  
  79.  
  80. ■ Example
  81.  
  82.   Sample program or code fragment.
  83. ..page
  84. ..head04L──────────────────────────────────────────────────────────────────────
  85. ..head03AHistory of Revisions
  86.  
  87.  
  88.  
  89.   V3.5
  90.      1. Added functions to access video bios interrupts.
  91.      2. Added functions to access several of the dos interrupts.
  92.      3. Revised all source code so it could be assembled with
  93.     either Borland's "TASM" or Microsoft's "MASM".
  94.      4. The pascal library now supports Turbo Pascal 6.0
  95.  
  96.  
  97.  
  98. ..page
  99. ..head04L──────────────────────────────────────────────────────────────────────
  100. ..head03AFuture Directions
  101.  
  102. ■ Future directions
  103.  
  104.   If you have any enhancements you would like to see included please
  105.   drop me a line describing the enhancement you would like to see.
  106.  
  107.   Please send enhancement requests to:    Kevin Dahl
  108.                     1209 Poplar St
  109.                     La Crescent, MN  55947
  110.  
  111.  
  112. Hopeful
  113. completion
  114. date        Description of enhancement
  115. ----------  --------------------------------------------------------
  116. 06/30/91    define a menu system that is similar to windows and OS/2
  117.         PM structure.  Menu definition structure will probably
  118.         resemble that of OS/2 PM.
  119.  
  120. 09/30/91    write code to handle menu
  121.  
  122. 03/31/92    write menu resource compiler to generate code so a
  123.         programmer can define a menu exactly the same way a menu
  124.         is defined for OS/2 PM.
  125.  
  126. ??/??/??    Screen management system with paint program.
  127.         The following is a list of defined functions.
  128.  
  129.            WinChgFld
  130.            WinChgGlobal
  131.            WinChgMouseDef
  132.            WinClosep
  133.            WinDspAllFlds
  134.            WinDspHdrs
  135.            WinDspOneFld
  136.            WinDspNFlds
  137.            WinDsp
  138.            WinDspText
  139.            WinGetFldPtr
  140.            WinGetFldNumMouseIn
  141.            WinGetFnKeyWin
  142.            WinLoadColorTbl
  143.            WinLoad
  144.            WinLoadValidKeySets
  145.            WinInitMouse
  146.            WinMouseIn
  147.            WinOpen
  148.            WinRead
  149.            WinSetColorTable
  150.            WinSetDefltFlds
  151.  
  152.         The paint program is somewhat functional.  It will allow
  153.         you to define up to 99 screens in a library.
  154. ..page
  155. 
  156.